<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %> 
<html>
<head>
	<title>机构信息</title>
	<%@include file="/WEB-INF/views/commons/commons.jsp"%>
	<script src="/static/js/system/productInfo.js"></script>
</head>
<body>
<table id="product_datagrid" >

</table>
<div id="product_toolbar">
	<div>
	
	<a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">增加</a>
	<a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
	<a class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true" id="change_btn" data-cmd="changeState">停用</a>
	<a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" id="stop_btn" data-cmd="changeDeduction">关闭不计免赔</a>
		<a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
	</div>
	
	<div>

		不计免赔:</a>
		<input name="deduction" class="easyui-combobox" id="deduction"
			 data-options="valueField:'value', textField:'text',prompt:'不计免赔',
                              data:[{text:'是', value:'1'},{text:'否', value:'0'}], panelHeight:'auto'" />
	      状态:  <input name="state" class="easyui-combobox" id="state"
			  data-options="valueField:'value', textField:'text',prompt:'销售状态',
                            data:[{text:'在售', value:'1'},{text:'停用', value:'0'}], panelHeight:'auto'" />
		<input id="keyword" name="keyword" class="easyui-textbox" data-options="prompt:'产品编码/名称'"/>
		<a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="query">查询</a>

	</div>
</div>

<div id ="bb">
	<a  class="easyui-linkbutton"  data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
	<a  class="easyui-linkbutton"  data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>


<!-- 对话框按钮 -->
<div id="product_dialog">
        <form  id="product_form"  method="post" action="">
        <input type="hidden" name="id" id="productId"/>
				<table  align="center" style="margin-top: 30px; border-collapse: separate; border-spacing: 0px 10px;" >
					<tr>
							<th>保险编号</th>
							<th><input class="easyui-textbox" name="number" /></th>

					</tr>
					<tr>
							<th>产品名称</th>
							<th><input class="easyui-textbox"  name="name"/></th>
					</tr>

					<tr>
						<th>所属机构</th>
						<th><input name="agency.id" class="easyui-combobox"
							   data-options="valueField:'id',textField:'name',url:'/agencyInfo/queryAgencys',
										panelHeight:'auto'"/>
						</th>
					</tr>
					<tr>
							<th>保障年限</th>
							<th><input  class="easyui-textbox"  name="limityear"/></th>
					</tr>

					<tr>
						<th>保额</th>
						<th><input  class="easyui-textbox"  name="insurance"/></th>
					</tr>
					<tr>
						<th>年费</th>
						<th><input  class="easyui-textbox"  name="annualfee"/></th>
					</tr>
					<tr>
						<th>状态</th>
						<th><input  class="easyui-combobox"  name="state"
								data-options="valueField:'value',textField:'text',
				                panelHeight:'auto', data:[{text:'在售', value:'1'},{text:'停售', value:'0'}]"/>
						</th>
					</tr>
					<tr>
						<th>不计免赔</th>
						<th><input  class="easyui-combobox"  name="deduction" prompt="请选择---"
								data-options="valueField:'value',textField:'text',
				                panelHeight:'auto', data:[{text:'是', value:'1'},{text:'否', value:'0'}]"/>
						</th>
					</tr>


				</table>
        </form>

</div>
</body>
</html>